package lumis.portal.serviceinstance.serialization;

import lumis.util.security.acl.serialization.AccessControlListSerializableConfig;

import java.util.ArrayList;
import java.util.List;

/**
 * Serializable value object for Service Instance structure properties
 *
 * @version $Revision: 12759 $ $Date: 2011-04-04 18:32:34 -0300 (Mon, 04 Apr 2011) $
 * @since 4.0.7
 */
public class ServiceInstanceSerializableConfig
{
	private String id;
	private String name;
	private Boolean automaticFriendlyId;
	private String friendlyId;
	private AccessControlListSerializableConfig accessControlList;
	private List<ServiceInstanceDependencySerializableConfig> dependencies = new ArrayList<ServiceInstanceDependencySerializableConfig>();
	@SuppressWarnings("unused")
	private String workflowId; // this field was maintained here only to avoid deserialization exception (backward compatibility). It was moved to WorkflowSerializableConfig
	public String getId()
	{
		return id;
	}
	public void setId(String id)
	{
		this.id = id;
	}
	public String getName()
	{
		return name;
	}
	public void setName(String name)
	{
		this.name = name;
	}
	public AccessControlListSerializableConfig getAccessControlList()
	{
		return accessControlList;
	}
	public void setAccessControlList(AccessControlListSerializableConfig accessControlList)
	{
		this.accessControlList = accessControlList;
	}
	public List<ServiceInstanceDependencySerializableConfig> getDependencies()
	{
		return dependencies;
	}
}
